home *** CD-ROM | disk | FTP | other *** search
- E! for Windows - Technical Note #011
- *********************************************
- Using the EW API from an external application
- *********************************************
- Additional Feature
-
- To make E! integrate with external applications as smoothly as possible,
- the EW API DLL (EWAPI2.DLL) has now an automatic loading feature.
-
- If any program tries to load EWAPI2.DLL and if EW.EXE is not running, E! is
- automatically loaded without any parameter and displayed as an icon. So, you
- can now make direct calls to any EW API function within your application
- without having to load E! first.
-
- If E! is already running, nothing particular happens.
-
- Since E! doesn't require that the EW directory be in your PATH, you will
- load EWAPI2.DLL by specifying its full pathname. You can also explicitly
- declare that directory in your PATH. EWAPI2.DLL always assume that EW.EXE
- reside in the same directory as EWAPI2.DLL and will try to load it from this
- directory.
-
- So, if you plan to install applications that make use of the E! API, it
- would be a good idea to add the \EW directory to your PATH.
-
- For debugging purposes (for example, when writing your own Extension DLLs)
- you can disable this feature by adding the following entry to the [system]
- section of EW.INI:
-
- [system]
- selfload=no
-
- If you don't disable selfloading, you'll get problems when terminating your
- EWDs from KILLDLL or with any other similar utility.
-
- Patrick Philippot
- 05/05/94
-